package service;

import dao.NoticeDao;
import domain.Notice;

import java.sql.SQLException;

public class NoticeService {
    private NoticeDao dao=new NoticeDao();
    public Notice getRecentNotice() throws  SQLException {

       return dao.getRecentNotice();

    }
}
